﻿@model MobileWebsiteGenerator.Entities.Customer
@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.he-IL.cshtml";
}
<script type="text/javascript">
    jQuery(document).ready(function () {
        jQuery("#pform").validationEngine('attach', { promptPosition: "centerRight" });

    });
</script>
<script>
    $(document).ready(function () {
        $("#phone").mask("999-999-9999");

    });

</script>
@section MobilePreview
{
    <div style="margin-top:40px;">  @Html.Partial("_HomeIphone.he-IL")</div>
}
<script src="@Url.Content("~/Content/Forms/En%20engine.js")" type="text/javascript"></script>
<link href="@Url.Content("~/Content/Forms/Engine.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Content/Forms/Engine.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Content/js/jquery.maskedinput-1.3.js")" type="text/javascript"></script>
<div style="float: right; width:570px;  vertical-align: top; margin: 0px; padding: 0px;"
    class="form_content rtl">
    <h3>
        טופס רישום</h3>
    <div>
        <form id="pform" method="post" action="/Customer/Create">
        <div class="form_row">
           
            <input class="form_input validate[required,minSize[5]] text-input" id="FullName"
                name="FullName" type="text" value="" />

                 <label>
                שם מלא</label>
            <span class="field-validation-valid" data-valmsg-for="FullName" data-valmsg-replace="true">
            </span>
        </div>
        <div class="form_row">
           
            <input class="form_input validate[required,custom[onlyLetterNumber],minSize[5]] text-input"
                id="UserName" name="UserName" type="text" value="" />
                 <label>
                שם משתמש</label>
            <span class="field-validation-valid" data-valmsg-for="UserName" data-valmsg-replace="true">
            </span>
        </div>
        <div class="form_row">
           
            <input class="form_input validate[required,minSize[6]] text-input" id="Password"
                name="Password" type="password" value="" />
                 <label>
                סיסמה</label>
            <span class="field-validation-valid" data-valmsg-for="Password" data-valmsg-replace="true">
            </span>
        </div>
        <div class="form_row">
            
            <input class="form_input " id="confirmPassword"
                name="confirmPassword" type="password" value="" />
                <label>
                אישור סיסמה</label>
            <span class="field-validation-valid" data-valmsg-for="confirmPassword" data-valmsg-replace="true">
            </span>
        </div>
        <div class="form_row">
           
            <input class="form_input validate[required,custom[email]] text-input" data-val="true"
                id="Email" name="Email" type="text" value="" />
                 <label>
                דוא"ל</label>
            <span class="field-validation-valid" data-valmsg-for="Email" data-valmsg-replace="true">
            </span>
        </div>
        <div class="form_row">
           
            <input class="form_input " id="ConfirmEmail"
                name="ConfirmEmail" type="text" value="" />
                 <label>
                אשר דוא"ל</label>
            <span class="field-validation-valid" data-valmsg-for="ConfirmEmail" data-valmsg-replace="true">
            </span>
        </div>
        <div class="form_row">
           
            <input class="form_input "
                id="company" name="company" type="text" value="" />
                 <label>
                חברה</label>
            <span class="field-validation-valid" data-valmsg-for="company" data-valmsg-replace="true">
            </span>
        </div>
        <div class="form_row">
          
            <input class="form_input  "
                id="WebsiteAddress" name="WebsiteAddress" type="text" value="" />
                  <label>
                אתר אינטרנט</label>
            <span class=" field-validation-valid" data-valmsg-for="WebsiteAddress" data-valmsg-replace="true">
            </span>
        </div>
        <div class="form_row">
          
            <input type="text" class="form_input  " name="phone" id="phone" value="" />
              <label>
                טלפון</label>
        </div>
      
        <div style="margin-right:400px; margin-top:10px;">
        
        <img  class="form_input" src="/Customer/ShowCaptchaImage" id="Captcha" alt="" />
          
          </div>
        <div class="form_row" >
           
          
         <input style="" id="CaptchaText" class="form_input" name="CaptchaText"
                    type="text" value="" placeholder="אנא הכנס את המחרוזת כמתואר לעיל" />
                       <label>
                קלט טקסט</label>
        </div>
        <div class="form_row">
            <input style="width:100px; height:35px; margin:3px;" type="submit" class="form_submits submit " value="שלח" />
        </div>
        </form>
    </div>
</div>
<style type="text/css">
    #submit:hover
    {
        background-color: #11639d;
        color: White;
    }
    
    div.form_content .form_row label
    {
        background-color: #11639d;
        color: White;
    }
</style>



<style type="text/css">
input.form_submits
{
     
width: auto;
height: auto;
color: #4F4F4D;
font-size: 18px;

cursor: pointer;
float: left;
margin: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
text-align:right;

background: url('../images/arrow left.png') no-repeat 20px 20px;
border: 1px solid #DEDEDE;
background: url('../images/arrow left.png') no-repeat 20px 20px;
background-position: left center;
    
}
</style>
